package commons;

import java.util.HashMap;

/**
 * This class holds usernames and passwords
 * as a fake database of some sort
 *
 */
public class PlayersRepository 
{
	static HashMap<String, String> playersRepos; 
	
	public PlayersRepository() 
	{
	    playersRepos = new HashMap<String, String>();
	    playersRepos.put("KP", "networks");
	    playersRepos.put("test", "test");
	    playersRepos.put("user", "pw");

	}

	public String getPassword(String username)
	{
		return playersRepos.get(username);
	}
}